package com.ssww.dao;

import java.util.List;

import com.ssww.entity.Product;
/**
 * dao接口
 * @author 
 *
 */
public interface ProductDao {
	
	public Product getProductById(Integer  id);
	public List<Product> getProductList();
	public int addProduct(Product a);
	public int updateProduct(Product a,int id);
	public int deleteProduct(int id);
	
}
